QT += quick core gui widgets network concurrent xml

CONFIG += c++11
CONFIG += resources_big
TEMPLATE = lib
TARGET = mainwindow

win32 {
    CONFIG(debug, debug|release) {
        DESTDIR=$$PWD/../package/win/win_debug/plugins
    }
    else {
        DESTDIR=$$PWD/../package/win/win_release/plugins
    }
}
else {
    CONFIG(debug, debug|release) {
        DESTDIR=$$PWD/../package/mac/mac_debug/TestCTK.app/Contents/Frameworks/plugins
    }
    else {
        DESTDIR=$$PWD/../package/mac/mac_release/TestCTK.app/Contents/Frameworks/plugins
    }
}

include(../common/common.pri)
include(../3rdparty/ctk/ctk.pri)
include(../3rdparty/log4qt/install/log4qt.pri)

HEADERS += \
    FrameLessView.h \
    mainmanager.h \
    mainmanager.h \
    mainwindow.h \
    mainwindowactivator.h \
    mainwindowhandlemessage.h \
    mainwindowimpl.h \
    mainwindowservice.h \

SOURCES += \
    FrameLessView_unix.cpp \
    FrameLessView_win.cpp \
    mainmanager.cpp \
    mainmanager.cpp \
    mainwindow.cpp \
    mainwindowactivator.cpp \
    mainwindowhandlemessage.cpp \
    mainwindowimpl.cpp \


RESOURCES += \
    qml.qrc \
    resource.qrc \
    mainwindow.qrc


file.path = $$DESTDIR
file.files = MANIFEST.MF
INSTALLS += file

